package cate

import "net/http"

type Interface interface {
	GetList()
	GetDetail()
	Create()
	Update()
	Delete()
}

// Data 分类数据结构体
type Data struct {
	ID        int64  `json:"id"`
	UserId    int64  `json:"user_id"`
	Name      string `json:"title"`
	Content   string `json:"Content"`
	ImgArr    string `json:"img_arr"`
	CreatedAt int64  `json:"created_at"`
	UpdatedAt int64  `json:"updated_at"`
	Status    int64  `json:"status"`
	IsDel     int64  `json:"is_del"`
}

func GetList(w http.ResponseWriter, r *http.Request) {

}

func GetDetail(w http.ResponseWriter, r *http.Request) {

}

func Create(w http.ResponseWriter, r *http.Request) {

}

func Update(w http.ResponseWriter, r *http.Request) {

}

func Delete(w http.ResponseWriter, r *http.Request) {

}
